import axios from "axios";
import {IUserState} from '../../types'
export default{
    login:(data:IUserState)=>axios.post('/users/login',data),
    getAccountList:()=>axios.get('/users/getAccountList')
}